import requests
# res = requests.get('http://127.0.0.1:5000/hello/')
# res = requests.post('http://127.0.0.1:5000/users/')
# res = requests.put('http://127.0.0.1:5000/users/')
# res = requests.delete('http://127.0.0.1:5000/users/')
res = requests.get('http://127.0.0.1:5000/user4/',
                      json={'name': 'lisi','age': 27},
                      headers={'content-type': 'application/json','Cookie': 'key=C1C95B81C5A4056058EA9E3BA2BB84C1'})
# print(res.text)
print(res.json())